﻿<div id="sidebar" class="page-sidebar">
    <div class="page-sidebar-scroll">
        <div class="nav-item selected-nav-item" data-ng-repeat="r in roleByGroup">
            <a href="#/{{r.RoleValue}}">
                <div class="icon-nav {{r.RoleValue}}"></div>
                {{r.RoleName}}
            </a>
        </div>
        <div class="nav-item">
            <a href="#">
                <div class="icon-nav icon-share" ng-click="out()"></div>
                THOÁT
            </a>
        </div>
    </div>
</div>
<div id="content" class="page-content">
    <div class="page-header">
        <p class="logo">
        </p>
        <a href="#" class="deploy-sidebar"></a>
        <div class="user">
            <span class="name">{{userName}}</span>
            <div class="notifi">
                <span class="noti-chart" ng-show="countNewMessage>0"><a href="#/newMessage">{{countNewMessage}}</a></span>
                <span class="noti-friend" ng-show="countAddFriend>0"><a href="#/newFriend">{{countAddFriend}}</a></span>
                <span class="noti-fromroom" ng-show="countFromRoom>0"><a href="#/newFromRoom">{{countFromRoom}}</a></span>
            </div>
        </div>
    </div>
    <div class="page-content-wrapper">
        <div class="red-box">
            <div class="toggle-v4">
                <a class="show-toggle-v4"><span class="icon-user-min icon-inline white-icon"></span><span class="content">yêu cầu kết bạn</span></a>
                <div class="clear"></div>
                <div class="toggle-content-v4">
                    <ul>
                        <li id="newFriend_{{a.Id}}" ng-repeat="a in getAddFriend">
                            <div class="invite-friend">
                                <a href="#">
                                    <img ng-src="{{severName}}Avatar/{{a.Avatar}}" />{{a.FriendName}}
                                </a>
                                <span class="icon-remove-sign-1 icon-inline red-icon right"></span>
                                <span class="icon-ok-1 icon-inline red-icon right" ng-click="acceptFriend(a.Id)"></span>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>


    </div>
</div>
